# -*- coding: utf-8 -*-
import random
from flask import Flask,url_for,redirect,render_template
app = Flask(__name__)
@app.route('/')
def hello_world():
    rand1 = random.randint(0,1)
    return render_template('index.html', name=rand1)

if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0', port=8888)